<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<body>

<h1 th:text="#{welcome.message}"></h1>

<span th:text="#{lang.change}"></span>:
<select id="locales">
    <option value=""></option>
    <option value="en" th:text="#{lang}"></option>
    <option value="zh" th:text="#{lang}"></option>
</select>

</body>
</html>